[INFO] cloning repository https://github.com/xrisyz/pokedex_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xrisyz/pokedex_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxrisyz%2Fpokedex_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxrisyz%2Fpokedex_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 01e6038fd922148e4ba6cb1140e7524ffa094b47
[INFO] building xrisyz/pokedex_rs against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxrisyz%2Fpokedex_rs" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/xrisyz/pokedex_rs on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/xrisyz/pokedex_rs
[INFO] finished tweaking git repo https://github.com/xrisyz/pokedex_rs
[INFO] tweaked toml for git repo https://github.com/xrisyz/pokedex_rs written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/xrisyz/pokedex_rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pin-project v0.4.7
[INFO] [stderr]   Downloaded pin-project-internal v0.4.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 22efb06293b11656439142599d087b82d9fb3cb947840e8aa681b81b8825ec49
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "22efb06293b11656439142599d087b82d9fb3cb947840e8aa681b81b8825ec49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22efb06293b11656439142599d087b82d9fb3cb947840e8aa681b81b8825ec49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22efb06293b11656439142599d087b82d9fb3cb947840e8aa681b81b8825ec49", kill_on_drop: false }`
[INFO] [stdout] 22efb06293b11656439142599d087b82d9fb3cb947840e8aa681b81b8825ec49
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e9677da4f5938e04b236afd55f79c6950a18f310d52f346642c68d35487cd031
[INFO] running `Command { std: "docker" "start" "-a" "e9677da4f5938e04b236afd55f79c6950a18f310d52f346642c68d35487cd031", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling bytes v0.5.4
[INFO] [stderr]    Compiling memchr v2.3.0
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling pin-project-lite v0.1.4
[INFO] [stderr]    Compiling futures-core v0.3.1
[INFO] [stderr]    Compiling openssl v0.10.26
[INFO] [stderr]    Compiling futures-task v0.3.1
[INFO] [stderr]    Compiling smallvec v1.1.0
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]    Compiling futures-sink v0.3.1
[INFO] [stderr]    Compiling try-lock v0.2.2
[INFO] [stderr]    Compiling tower-service v0.3.0
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling encoding_rs v0.8.22
[INFO] [stderr]    Compiling dtoa v0.4.4
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling indexmap v1.3.1
[INFO] [stderr]    Compiling futures-util v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.1
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.12
[INFO] [stderr]    Compiling http v0.2.0
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling mime_guess v2.0.1
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.53
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling tokio-macros v0.2.4
[INFO] [stderr]    Compiling pin-project-internal v0.4.7
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling tokio v0.2.11
[INFO] [stderr]    Compiling pin-project v0.4.7
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling tokio-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.2.1
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling hyper v0.13.1
[INFO] [stderr]    Compiling hyper-tls v0.4.1
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling serde_json v1.0.45
[INFO] [stderr]    Compiling reqwest v0.10.1
[INFO] [stderr]    Compiling pokedex_core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::fmt;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::future::Future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Error`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use reqwest::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pokemon_count`
[INFO] [stdout]    --> src/main.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let pokemon_count = pokedex_response.pokemon_entries.iter().count();
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pokemon_count`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:92:20
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn get_entries(mut self) -> Vec<PokeDexEntries> {
[INFO] [stdout]    |                    ----^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn check_entries_count(mut self) -> Result<Vec<PokeDexEntries>, PokeError> {
[INFO] [stdout]    |                            ----^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `self.pokemon_entries`
[INFO] [stdout]   --> src/main.rs:98:23
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn check_entries_count(mut self) -> Result<Vec<PokeDexEntries>, PokeError> {
[INFO] [stdout]    |                            -------- move occurs because `self` has type `PokeDexResponse`, which does not implement the `Copy` trait
[INFO] [stdout] 97 |         if self.get_entries().iter().count() > 0 {
[INFO] [stdout]    |                 ------------- `self` moved due to this method call
[INFO] [stdout] 98 |             return Ok(self.pokemon_entries)
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `self`
[INFO] [stdout]   --> src/main.rs:92:24
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn get_entries(mut self) -> Vec<PokeDexEntries> {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/main.rs:116:25
[INFO] [stdout]     |
[INFO] [stdout] 116 |       let pokemon_entry = pokedex_response
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 117 | |         .check_entries_count()
[INFO] [stdout] 118 | |         .unwrap()
[INFO] [stdout]     | |_________________^ creates a temporary which is freed while still in use
[INFO] [stdout] ...
[INFO] [stdout] 122 |           .unwrap();
[INFO] [stdout]     |                    - temporary value is freed at the end of this statement
[INFO] [stdout] ...
[INFO] [stdout] 125 |       println!("name: {} \n url: {}", pokemon_entry.pokemon_species.name, pokemon_entry.pokemon_species.url)
[INFO] [stdout]     |                                       ---------------------------------- borrow later used here
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pokedex_core`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "e9677da4f5938e04b236afd55f79c6950a18f310d52f346642c68d35487cd031", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9677da4f5938e04b236afd55f79c6950a18f310d52f346642c68d35487cd031", kill_on_drop: false }`
[INFO] [stdout] e9677da4f5938e04b236afd55f79c6950a18f310d52f346642c68d35487cd031
